#include "prototype.h"
// 原型模式的全局共享对象
Prototype::Prototype(){

}
std::unique_ptr<Prototype> ConcretePrototype::clone() const {
    return std::make_unique<ConcretePrototype>(*this);
}
void ConcretePrototype::performTask() const {
    std::cout << "Performing task in ConcretePrototype\n";
}
